// Learn TypeScript:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html

import BaseCharacterElement from "../BaseCharacterElement";
import MonsterIdleState from "./MonsterIdleState";
import MonsterRunState from "./MonsterRunState";

const { ccclass, property } = cc._decorator;

@ccclass
export default class Monster11Element extends BaseCharacterElement {

    protected onLoad() {
        super.onLoad();
        this.idleState = new MonsterIdleState(this, "idle");
        this.runState = new MonsterRunState(this, "idle");
    }
}
